-- :%s/a03/新项目名称/g
rule("bin")
after_build(function(target)
	local bindir = "$(projectdir)/bin/a03/"
	os.cp(target:targetfile(), bindir)
end)
rule_end()

target("a03")
set_kind("phony")
add_deps("a03debugx86", "a03debugx64", "a03releasex86", "a03releasex64")

target("a03debugx86")
set_kind("binary")
set_arch("x86")
add_files("src/*.cpp")
add_rules("mode.debug", "bin")
add_cxxflags("/Od")

target("a03debugx64")
set_kind("binary")
set_arch("x64")
add_files("src/*.cpp")
add_rules("mode.debug", "bin")
add_cxxflags("/Od")

target("a03releasex86")
set_kind("binary")
set_arch("x86")
add_files("src/*.cpp")
add_rules("mode.release", "bin")

target("a03releasex64")
set_kind("binary")
set_arch("x64")
add_files("src/*.cpp")
add_rules("mode.release", "bin")
